package com.skjd.service.seq.range.impl.db;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Init {
	
	@Autowired
	private DefaultRangeSequence  defaultRangeSequence ;
	
	@PostConstruct
	public  void start() {
		
		  for (int i = 0; i < 1000; i++) {
	            System.out.println("++++++++++id:" + defaultRangeSequence.nextValue("T_ORDER"));
	        }
		
	}
}
